#ifndef COMMON_TYPE_H
#define COMMON_TYPE_H
#include <stddef.h>     //for NULL
#include <stdint.h>
//type
// 8bit   char uchar byte ubyte
// 16bit  short ushort
// 32bit  int uint
// 64bit  int64 uint64

typedef unsigned char      uchar;    //[0,255]
typedef unsigned char      byte;     //[0,255]
typedef unsigned short     ushort;   //[0,65535]
typedef unsigned int       uint;     //[0,4294967295]
typedef unsigned long      ulong;
typedef long long          int64;
typedef unsigned long long uint64;
typedef intptr_t           intptr;
#endif//COMMON_TYPE_H